﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PCBase.UIControls;
using System.Drawing.Design;


namespace VisionCore
{
    public class PRM_FilePath
    {
        [Editor(typeof(System.Windows.Forms.Design.FolderNameEditor), typeof(UITypeEditor))]
        [Category("a.基本参数"), DisplayName("01.Inspection Share Path"), Description("检测PC共享文件路径")]
        //[EditorAttribute(typeof(System.Drawing.Design.), typeof(System.Drawing.Design.UITypeEditor))]
        public string ShareFileDir { get; set; } = "D:\\";

        [Category("a.基本参数"), DisplayName("02.WaferMap File Name"), Description("WaferMap文件名")]
        //[EditorAttribute(typeof(CommonInputEditor), typeof(System.Drawing.Design.UITypeEditor))]
        public string WaferMapFileName { get; set; } = "wafermap";

        [Category("a.基本参数"), DisplayName("03.WaferTrain File Name"), Description("WaferTrain文件名")]
        //[EditorAttribute(typeof(CommonInputEditor), typeof(System.Drawing.Design.UITypeEditor))]
        public string WaferTrainFileName { get; set; } = "train";

        [Category("a.基本参数"), DisplayName("04.ReInspection File Name"), Description("检测结果文件名")]
        //[EditorAttribute(typeof(CommonInputEditor), typeof(System.Drawing.Design.UITypeEditor))]
        public string ReInspectionFileName { get; set; } = "aoidata";

        [Category("a.基本参数"), DisplayName("05.ReInspection File Name"), Description("复判图片文件名")]
        //[EditorAttribute(typeof(CommonInputEditor), typeof(System.Drawing.Design.UITypeEditor))]
        public string ReInspImgName { get; set; } = "RebinImg";

        [Category("a.基本参数"), DisplayName("06.Unload MapData File Name"), Description("Unload MapData文件名")]
        //[EditorAttribute(typeof(CommonInputEditor), typeof(System.Drawing.Design.UITypeEditor))]
        public string UnloadMapDataFileName { get; set; } = "unload";

        [Category("a.基本参数"), DisplayName("07.RebinData File Name"), Description("复判结果文件名")]
        //[EditorAttribute(typeof(CommonInputEditor), typeof(System.Drawing.Design.UITypeEditor))]
        public string RebinDataFileName { get; set; } = "rebindata";

        [Category("a.基本参数"), DisplayName("08.AVI程序 File Name"), Description("AVI程序文件名")]
        //[EditorAttribute(typeof(CommonInputEditor), typeof(System.Drawing.Design.UITypeEditor))]
        public string AVIProgFileName { get; set; } = "AVIScan";

        [Editor(typeof(System.Windows.Forms.Design.FolderNameEditor), typeof(UITypeEditor))]
        [Category("a.基本参数"), DisplayName("09.MapData Share Path(User)"), Description("MapData共享文件路径")]
        //[EditorAttribute(typeof(System.Windows.Forms.Design.FolderNameEditor), typeof(System.Drawing.Design.UITypeEditor))]
        public string MapDataFileDir_User { get; set; } = "D:\\";

        [Editor(typeof(System.Windows.Forms.Design.FolderNameEditor), typeof(UITypeEditor))]
        [Category("a.基本参数"), DisplayName("10.LogFile Path"), Description("Log文件路径")]
        //[EditorAttribute(typeof(System.Drawing.Design.), typeof(System.Drawing.Design.UITypeEditor))]
        public string LogFileDir { get; set; } = "D:\\";

        public override string ToString()
        {
            return "...";
        }
    }
}
